from time import clock

def benchmark(func, *args):
	t0 = clock()
	func(*args)
	time_elapsed = clock() - t0
	print func.__name__ + ": " + str(time_elapsed) + " second(s)"